package com.ruoyi.shop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 sp
 * 
 * @author ruoyi
 * @date 2025-06-19
 */
public class Sp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    @Excel(name = "商品id")
    private Long sId;

    /** 分类id */
    @Excel(name = "分类id")
    private Long typeId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long ddId;

    /** 标签id */
    @Excel(name = "标签id")
    private Long bqId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String mc;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private Long jd;

    /** 商品库存 */
    @Excel(name = "商品库存")
    private Long kc;

    /** 商品简介 */
    @Excel(name = "商品简介")
    private String jj;

    /** 发货地址 */
    @Excel(name = "发货地址")
    private String address;

    /** 保质期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "保质期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bzq;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scrq;

    /** 折扣 */
    @Excel(name = "折扣")
    private Long zk;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String dp;

    /** 包装 */
    @Excel(name = "包装")
    private String bz;

    /** 品牌 */
    @Excel(name = "品牌")
    private String pp;

    /** 储存条件 */
    @Excel(name = "储存条件")
    private String tj;

    /** 材质 */
    @Excel(name = "材质")
    private String cz;

    /** 颜色 */
    @Excel(name = "颜色")
    private String ys;

    /** 使用年龄 */
    @Excel(name = "使用年龄")
    private String age;

    /** 许可证编号 */
    @Excel(name = "许可证编号")
    private Long xkz;

    /** 售后电话 */
    @Excel(name = "售后电话")
    private Long sh;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String img;

    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public void setDdId(Long ddId) 
    {
        this.ddId = ddId;
    }

    public Long getDdId() 
    {
        return ddId;
    }

    public void setBqId(Long bqId) 
    {
        this.bqId = bqId;
    }

    public Long getBqId() 
    {
        return bqId;
    }

    public void setMc(String mc) 
    {
        this.mc = mc;
    }

    public String getMc() 
    {
        return mc;
    }

    public void setJd(Long jd) 
    {
        this.jd = jd;
    }

    public Long getJd() 
    {
        return jd;
    }

    public void setKc(Long kc) 
    {
        this.kc = kc;
    }

    public Long getKc() 
    {
        return kc;
    }

    public void setJj(String jj) 
    {
        this.jj = jj;
    }

    public String getJj() 
    {
        return jj;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setBzq(Date bzq) 
    {
        this.bzq = bzq;
    }

    public Date getBzq() 
    {
        return bzq;
    }

    public void setScrq(Date scrq) 
    {
        this.scrq = scrq;
    }

    public Date getScrq() 
    {
        return scrq;
    }

    public void setZk(Long zk) 
    {
        this.zk = zk;
    }

    public Long getZk() 
    {
        return zk;
    }

    public void setDp(String dp) 
    {
        this.dp = dp;
    }

    public String getDp() 
    {
        return dp;
    }

    public void setBz(String bz) 
    {
        this.bz = bz;
    }

    public String getBz() 
    {
        return bz;
    }

    public void setPp(String pp) 
    {
        this.pp = pp;
    }

    public String getPp() 
    {
        return pp;
    }

    public void setTj(String tj) 
    {
        this.tj = tj;
    }

    public String getTj() 
    {
        return tj;
    }

    public void setCz(String cz) 
    {
        this.cz = cz;
    }

    public String getCz() 
    {
        return cz;
    }

    public void setYs(String ys) 
    {
        this.ys = ys;
    }

    public String getYs() 
    {
        return ys;
    }

    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }

    public void setXkz(Long xkz) 
    {
        this.xkz = xkz;
    }

    public Long getXkz() 
    {
        return xkz;
    }

    public void setSh(Long sh) 
    {
        this.sh = sh;
    }

    public Long getSh() 
    {
        return sh;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sId", getsId())
            .append("typeId", getTypeId())
            .append("ddId", getDdId())
            .append("bqId", getBqId())
            .append("mc", getMc())
            .append("jd", getJd())
            .append("kc", getKc())
            .append("jj", getJj())
            .append("address", getAddress())
            .append("bzq", getBzq())
            .append("scrq", getScrq())
            .append("zk", getZk())
            .append("dp", getDp())
            .append("bz", getBz())
            .append("pp", getPp())
            .append("tj", getTj())
            .append("cz", getCz())
            .append("ys", getYs())
            .append("age", getAge())
            .append("xkz", getXkz())
            .append("sh", getSh())
            .append("img", getImg())
            .toString();
    }
}
